import ThetaFunction 
import EllipticCurve
import sys

w1 = (1.0+0j)
w2 = (0+1j)

w1 = (2.73115321198359 + 0j)
w2 = (1.36557660599179 + 1.02549938195661j)

w1 = (0 + 2.62205755429211981046483959j)
w2 = (2.62205755429211981046483959 + 0j)

w1 = 2.73115321198359
w2 = (1.36557660599179 + 1.02549938195661j)

w2= (0.0+2.62205755429211981046483959j)
w1 = (2.62205755429211981046483959+0.0j)

#t = w1/w2

#print ThetaFunction.theta(0,(0.5+1j),0,0)

e = EllipticCurve.EllipticCurve(w1,w2,True)
print e.a
print e.b
#n = 5.0
#temp = 1.0
#for i in range(0,5):
#    for j in range(0,5):
#        temp = temp * ThetaFunction.thetaderiv(i/n,j/n,0.0,t)
#print temp
            
#(2.73115321198359, 1.36557660599179 + 1.02549938195661*I)
